import http from '../utlis/https'
// 视频管理列表渲染
export const GetCourseList = params => http.request({
    url: '/dai/query/course',
    method: 'get',
    params
  })
// 视频管理添加
export const AddCourse = data => http.request({
  url: '/dai/add/course',
  method: 'POST',
  data
})
// 视频管理修改
export const EditCourse = data => http.request({
  url: 'dai/update/course?id=' + data.id,
  method: 'post',
  data
})
// 视频管理删除
export const DelCourse = data => http.request({
  url: '/dai/remove/course',
  method: 'post',
  data
})
